using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Pig : Destruction
{
    [SerializeField] int score = 3000;

    protected override void Die()
    {
        base.Die();
        ScoreManager.Instance.Show(transform.position, score);
        GameManager.Instance.UpdatePigCount();
    }

    protected override void PlayAudioDamage()
    {
        AudioManager.Instance.PlayPigDamage(transform.position);
    }
}
